#ifndef SOUND_H
#define SOUND_H


#include <pulse/simple.h>
#include <pulse/error.h>
#include <pulse/gccmacro.h>



void setuppulse();
void closepulse();
int pulseread();
pa_usec_t pulselatency();
double volumn();
void pulseflush();
#define READ 1024

extern pa_simple *pas;
extern short readbuffer[READ];

#endif
